package com.jz.community.basecomm.bean;

/**
 * Created by Tony.Fan on 2018/5/8 17:25
 */
public class UserInfo extends BaseResponseInfo{

    /**
     * passWord : e10adc3949ba59abbe56e057f20f883e
     * sex : 0
     * isvalid : 1
     * userName : 15221774418
     * createTime : 1505952481000
     * phone : 15221774418
     * defaultIcon : {"createTime":1529476264000,"icon":"https://wx.qlogo.cn/mmopen/vi_32/DYAIOgq83eqicMRhWfwGqu5X54BW1NJqWYp2ta4oYyQzYxcmbjdrc6I3IjlgWmYloJJHFBLoXYKIABMphYK4ia4g/132","id":334,"isDefault":0,"status":0,"updateTime":1529476269000,"userId":700308}
     * comeFrom : 104
     * name : 啊撸
     * id : 700308
     * userType : 1
     * childrenUserAuths : []
     * status : 0
     * defaultAddress : {"address":"陕西省西安市雁塔区高新区唐兴路6号唐兴数码620室","addressType":1,"createTime":1529544559000,"id":34,"isDefault":0,"latitude":34.2324,"longitude":108.878079,"name":"啊撸","phone":"15221774418","status":0,"updateTime":1529544559000,"userId":700308}
     */

    private String passWord;
    private String sex;
    private String isvalid;
    private String userName;
    private long createTime;
    private String phone;
    private DefaultIconBean defaultIcon;
    private String comeFrom;
    private String integral;
    private boolean isInitPwd;
    private String name;
    private String id;
    private String userType;
    private String status;
    private DefaultAddressBean defaultAddress;

    public boolean isInitPwd() {
        return isInitPwd;
    }

    public void setInitPwd(boolean initPwd) {
        isInitPwd = initPwd;
    }

    public String getIntegral() {
        return integral;
    }

    public void setIntegral(String integral) {
        this.integral = integral;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getIsvalid() {
        return isvalid;
    }

    public void setIsvalid(String isvalid) {
        this.isvalid = isvalid;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public DefaultIconBean getDefaultIcon() {
        return defaultIcon;
    }

    public void setDefaultIcon(DefaultIconBean defaultIcon) {
        this.defaultIcon = defaultIcon;
    }

    public String getComeFrom() {
        return comeFrom;
    }

    public void setComeFrom(String comeFrom) {
        this.comeFrom = comeFrom;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public DefaultAddressBean getDefaultAddress() {
        return defaultAddress;
    }

    public void setDefaultAddress(DefaultAddressBean defaultAddress) {
        this.defaultAddress = defaultAddress;
    }

    public static class DefaultIconBean {
        /**
         * createTime : 1529476264000
         * icon : https://wx.qlogo.cn/mmopen/vi_32/DYAIOgq83eqicMRhWfwGqu5X54BW1NJqWYp2ta4oYyQzYxcmbjdrc6I3IjlgWmYloJJHFBLoXYKIABMphYK4ia4g/132
         * id : 334
         * isDefault : 0
         * status : 0
         * updateTime : 1529476269000
         * userId : 700308
         */

        private long createTime;
        private String icon;
        private String id;
        private String isDefault;
        private String status;
        private long updateTime;
        private String userId;

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getIsDefault() {
            return isDefault;
        }

        public void setIsDefault(String isDefault) {
            this.isDefault = isDefault;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public long getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(long updateTime) {
            this.updateTime = updateTime;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }
    }

    public static class DefaultAddressBean {
        /**
         * address : 陕西省西安市雁塔区高新区唐兴路6号唐兴数码620室
         * addressType : 1
         * createTime : 1529544559000
         * id : 34
         * isDefault : 0
         * latitude : 34.2324
         * longitude : 108.878079
         * name : 啊撸
         * phone : 15221774418
         * status : 0
         * updateTime : 1529544559000
         * userId : 700308
         */

        private String address;
        private String addressType;
        private long createTime;
        private String id;
        private String isDefault;
        private double latitude;
        private double longitude;
        private String name;
        private String phone;
        private String status;
        private long updateTime;
        private String userId;

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getAddressType() {
            return addressType;
        }

        public void setAddressType(String addressType) {
            this.addressType = addressType;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getIsDefault() {
            return isDefault;
        }

        public void setIsDefault(String isDefault) {
            this.isDefault = isDefault;
        }

        public double getLatitude() {
            return latitude;
        }

        public void setLatitude(double latitude) {
            this.latitude = latitude;
        }

        public double getLongitude() {
            return longitude;
        }

        public void setLongitude(double longitude) {
            this.longitude = longitude;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public long getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(long updateTime) {
            this.updateTime = updateTime;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }
    }
}
